home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Eagles Nest BBS 8
/
Eagles_Nest_Mac_Collection_Disc_8.TOAST
/
Developer Tools⁄Additions
/
InsideBa1994
/
InsideBasic-94
/
IB 94
/
FN FieldRect
/
FN fieldRect
Wrap
Text File
|
1991-07-18
|
444b
|
24 lines
LONG FN fieldRect(rectPtr&)
frHndl& = TEHANDLE(WINDOW(0))
BLOCKMOVE PEEK LONG(frHndl&),rectPtr&,8
END FN
'
'==========================================================================
'
WINDOW 1:COORDINATE WINDOW:TEXT 0,12,0,0
EDIT FIELD 1,"This is a test",(20,20)-(200,200),2
DIM t,l,b,r
FN fieldRect(VARPTR(t))
PRINT%(20,220)"Field's rect is... T ="t" L ="l" B ="b" R ="r
'
"Loop"
DIALOG ON :BREAK ON
DIALOG OFF:BREAK OFF
GOTO"Loop"